package com.example.basesystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.basesystem.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 角色菜单关联Mapper接口
 */
@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    /**
     * 删除角色菜单关联
     *
     * @param roleId 角色ID
     * @return 结果
     */
    int deleteByRoleId(@Param("roleId") Long roleId);
}